package com.yql.dao;

import com.yql.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDao {
    List<Menu> getTree(Integer id);

    User login(User user);

    List<Order> listOrder(OrderVO vo);

    Integer addOrder(Order order);

    Integer addGoods(@Param("g") Goods goods);
}
